import React from "react";

import { createStackNavigator } from "@react-navigation/stack";

import SplashScreen from "./user/SplashScreen";
import SignInScreen from "./user/SignInScreen";
import SignUpScreen from "./user/SignUpScreen";
import ForgetPasswordScreen from "./user/ForgetPasswordScreen";

const Stack = createStackNavigator();

const LoginStack = ({ navigation }) => (
  <Stack.Navigator screenOptions={{ headerShown: false }}>
    <Stack.Screen name="SplashScreen" component={SplashScreen} />
    <Stack.Screen name="SignInScreen" component={SignInScreen} />
    <Stack.Screen name="SignUpScreen" component={SignUpScreen} />
    <Stack.Screen
      name="ForgetPasswordScreen"
      component={ForgetPasswordScreen}
    />
  </Stack.Navigator>
);

export default LoginStack;
